{if $smarty.session.user_isadmin == "1"}
<div class="wrap">
<div id='addcustomer_resp' class="ajaxResponse"></div>
<h2>Create Customer</h2>
<form name="addcustomer" id="addcustomer" method="post" 
	action="?module={$smarty.get.module}&sub1={$smarty.get.sub1}&act={$smarty.get.act}"
	onsubmit="onAddNewCustomer('addcustomer', 'addcustomer_resp', 'thelist'); return false;">
	<input type="hidden" name="act" value="addcustomer" />
	<table class="adminform" width="50%" align="center" cellpadding="5">
		<tr>
			<th width="33%" scope="row" valign="top">
			<label for="customer_firstname"><font color=red>*</font>{TranslateTag}B_LABEL_FIRSTNAME{/TranslateTag}</label></th>
			<td width="67%">
			<input name="customer_firstname" id="customer_firstname" type="text" value="" size="40" maxlength="60"/></td>
		</tr>
		<tr>
			<th width="33%" scope="row" valign="top">
			<label for="customer_lastname"><font color=red>*</font>{TranslateTag}B_LABEL_LASTNAME{/TranslateTag}</label></th>
			<td width="67%">
			<input name="customer_lastname" id="customer_lastname" type="text" value="" size="40" maxlength="60"/></td>
		</tr>
		<tr>
			<th width="33%" scope="row" valign="top">
			<label for="customer_email"><font color=red>*</font>{TranslateTag}B_LABEL_EMAIL{/TranslateTag}</label></th>
			<td width="67%">
			<input name="customer_email" id="customer_email" type="text" value="" size="40" maxlength="100"/></td>
		</tr>
		<tr>
			<th width="33%" scope="row" valign="middle">
			<label for="customer_password"><font color=red>*</font>{TranslateTag}B_LABEL_PASSWORD{/TranslateTag}<br />(twice)</label></th>
			<td width="67%">
				<input name="customer_password" id="customer_password" type="password" value="" size="40" maxlength="64"/>
				<input name="customer_password2" id="customer_password2" type="password" value="" size="40" maxlength="64"/>
			</td>
		</tr>
		<tr>
			<td width="67%" colspan="2"  class="submit" align="right">
				<input type="image" name="submit" src="../view/admin/images/object_save.png" value="" />
			</td>
		</tr>
	</table>
</form>

</div>
{/if}